package lab02.test07;

public class Test {
    public static void main(String[] args) {
        Person li=new Person();
        li.name="liwanying";
        li.age=19;
        li.id="1606101018";

        System.out.println(li.getString());

        Student wang=new Student();
        wang.name="wang";
        wang.age=18;
        wang.id="12433243";
        wang.stuNo="125949239";
        wang.school="四川旅游学院";

        System.out.println(wang.getString());
    }

}
